<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .div1 {
            padding: 10px;
            border: 3px solid black;
        }
        
        .div2 {
            border: 3px solid red;
        }
        
        .div2 img {
            float: left;
            padding: 10px;
            clear: both;
        }
        
        .div2:after {
            content: "2345";
            display: block;
            clear: left;
        }
    </style>
</head>

<body>
    <div class="div1">
        <img src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AAPOc0f.img?w=300&h=156&q=60&m=6&f=jpg&u=t" alt="">

    </div>
    <div class="div2">
        <img src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AAPOc0f.img?w=300&h=156&q=60&m=6&f=jpg&u=t" alt="">

    </div>
</body>

</html>